/**
    Copyright 2015 Table Rider
    By: Anders Nylander
*/

#ifndef DOPE_H
#define DOPE_H
#include "CordSystem.h"

class Dope
{
    public:
        Dope(CordSystem *cord);
        bool isDoe();
        void setDoe(unsigned long, unsigned short);
        void update();
        bool isDone();
    protected:
    private:
        CordSystem *cord;
        unsigned long ip;
        unsigned short port;
        double JohnX,JohnY;
        bool Doe;

        void findJohn();
        void makeSteps();
        void doAllSteps();
};

#endif // DOPE_H
